4d125f2da0d9e38de25b327506cb3c1820d622d3,hazelcast/src/main/java/com/hazelcast/instance/HazelcastInstanceFactory.java,HazelcastInstanceFactory,constructHazelcastInstance,#Config#String#NodeContext#,120
Before Change
HazelcastInstanceProxy proxy;
try {
Thread.currentThread().setContextClassLoader(HazelcastInstanceFactory.class.getClassLoader());
final HazelcastInstanceImpl hazelcastInstance = new HazelcastInstanceImpl(instanceName, config, nodeContext);
OutOfMemoryErrorDispatcher.register(hazelcastInstance);
After Change
HazelcastInstanceProxy proxy;
try {
if (tccl == null) {
Thread.currentThread().setContextClassLoader(HazelcastInstanceFactory.class.getClassLoader());
}
final HazelcastInstanceImpl hazelcastInstance = new HazelcastInstanceImpl(instanceName, config, nodeContext);
OutOfMemoryErrorDispatcher.register(hazelcastInstance);